home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2002 November / SGI IRIX Base Documentation 2002 November.iso / usr / share / catman / a_man / cat1 / xfsinvutil.z / xfsinvutil
Encoding:
Text File  |  2002-10-03  |  8.6 KB  |  199 lines

  1.  
  2.  
  3.  
  4. xxxxffffssssiiiinnnnvvvvuuuuttttiiiillll((((1111MMMM))))                                                  xxxxffffssssiiiinnnnvvvvuuuuttttiiiillll((((1111MMMM))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      xfsinvutil - xfsdump inventory database checking and pruning utility
  10.  
  11. SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.      xxxxffffssssiiiinnnnvvvvuuuuttttiiiillll [-F|-i] [-u _U_U_I_D] [-M _m_o_u_n_t__p_o_i_n_t] [-m _m_e_d_i_a__l_a_b_e_l] _m_m/_d_d/_y_y_y_y
  13.      xxxxffffssssiiiinnnnvvvvuuuuttttiiiillll -i
  14.      xxxxffffssssiiiinnnnvvvvuuuuttttiiiillll -C
  15.  
  16. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  17.      _x_f_s_d_u_m_p(1M) maintains an online dump inventory in /_v_a_r/_x_f_s_d_u_m_p/_i_n_v_e_n_t_o_r_y.
  18.      The ----IIII option of _x_f_s_d_u_m_p displays the inventory contents hierarchically.
  19.      The levels of the hierarchy are:  filesystem, dump session, stream, and
  20.      media file.
  21.  
  22.      Over time, this database may grow too large as _x_f_s_d_u_m_p and _x_f_s_r_e_s_t_o_r_e(1M)
  23.      do not remove entries from the inventory. The database may also develop
  24.      inconsistencies for various reasons such as operator errors etc., that
  25.      may cause _x_f_s_d_u_m_p or _x_f_s_r_e_s_t_o_r_e to print error or warning messages.
  26.  
  27.      _x_f_s_i_n_v_u_t_i_l is an utility to check this inventory database for
  28.      consistency, to remove entries of dump sessions which may no longer be of
  29.      relevance, and to browse the contents of the inventory.
  30.  
  31.      _x_f_s_i_n_v_u_t_i_l may be used in three different modes.  In the first mode
  32.      _x_f_s_i_n_v_u_t_i_l steps over each dump session recorded in the inventory and
  33.      prompts for a yes or no response to whether each session should be
  34.      pruned.  The second is a batch mode in which _x_f_s_i_n_v_u_t_i_l will prune every
  35.      entry matching the supplied criteria.  The third mode allows the user to
  36.      browse the inventory in detail, to delete or undelete records at will and
  37.      also to import inventories from other hosts.
  38.  
  39.      The following command line options are available:
  40.  
  41.      ----FFFF   Don't prompt the operator.  When _x_f_s_i_n_v_u_t_i_l encounters a matching
  42.           dump session, _x_f_s_i_n_v_u_t_i_l will normally ask the operator for
  43.           permission to delete the entry. With this option the deletion is
  44.           performed, no questions asked.
  45.  
  46.      ----iiii   Interactive mode.  Causes _x_f_s_i_n_v_u_t_i_l to run in a mode that will
  47.           allow the operator to browse the contents of the inventory. Please
  48.           refer to the IIIInnnntttteeeerrrraaaaccccttttiiiivvvveeee MMMMooooddddeeee section below for more information.
  49.  
  50.      ----MMMM _m_o_u_n_t__p_o_i_n_t
  51.           Specifies the mount point of inventory entries to be selected for
  52.           pruning. _x_f_s_i_n_v_u_t_i_l prompts the operator when a dump session in the
  53.           inventory is identified by the mount point and was created prior to
  54.           the specified date.  The operator can then select specific dump
  55.           sessions for removal from the inventory database.  _x_f_s_i_n_v_u_t_i_l also
  56.           performs consistency checks on other inventory database entries when
  57.           invoked with this option.
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70. xxxxffffssssiiiinnnnvvvvuuuuttttiiiillll((((1111MMMM))))                                                  xxxxffffssssiiiinnnnvvvvuuuuttttiiiillll((((1111MMMM))))
  71.  
  72.  
  73.  
  74.      ----uuuu _U_U_I_D
  75.           Specifies the filesystem universally unique identifier (UUID) of
  76.           inventory entries to be selected for pruning.  This option is
  77.           equivalent to the ----MMMM option.
  78.  
  79.      ----mmmm _m_e_d_i_a__l_a_b_e_l
  80.           If specified, only sessions with at least one media file whose label
  81.           matches this value will be eligible for pruning.  This restriction
  82.           is in addition to those imposed by the date and the ----MMMM or ----uuuu
  83.           options.  This option allows the pruning of all inventory references
  84.           to media which may have been overwritten or lost.
  85.  
  86.      ----CCCC   With this option, _x_f_s_i_n_v_u_t_i_l performs consistency checks for all
  87.           entries in the inventory database.  It fixes any problems found. If
  88.           no consistent entries are found , the corresponding inventory
  89.           database file is removed.
  90.  
  91.    IIIInnnntttteeeerrrraaaaccccttttiiiivvvveeee MMMMooooddddeeee
  92.      When run with ----iiii, _x_f_s_i_n_v_u_t_i_l will present the operator with a
  93.      hierarchical representation of the _x_f_s_d_u_m_p inventory.  In this mode, the
  94.      operator can use the arrow keys (or the hhhh jjjj kkkk llll keys) to navigate the
  95.      inventory and also use the following keys and functionality:
  96.  
  97.      ++++    Expand a branch of the tree.
  98.  
  99.      ----    Collapse a branch of the tree.
  100.  
  101.      ****    Fully expand a branch of the tree.
  102.  
  103.      %%%%    Fully collapse a branch of the tree.
  104.  
  105.      hhhh    Move selection to the parent entry.
  106.  
  107.      llll    Move selection to the child entry.
  108.  
  109.      jjjj    Move selection to next entry.
  110.  
  111.      kkkk    Move selection to previous entry.
  112.  
  113.      dddd    Mark the current record, and all sub-records, to be deleted.
  114.  
  115.      uuuu    Clear the current record and all parent records from being deleted.
  116.  
  117.      iiii    Import another _x_f_s_d_u_m_p inventory.
  118.  
  119.      ????    Show help window.
  120.  
  121.      xxxx    Commit any changes made to the inventory, and exit the program.
  122.  
  123.      qqqq    Exit the program without commiting any changes to the inventory.
  124.  
  125.  
  126.  
  127.  
  128.  
  129.                                                                         PPPPaaaaggggeeee 2222
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136. xxxxffffssssiiiinnnnvvvvuuuuttttiiiillll((((1111MMMM))))                                                  xxxxffffssssiiiinnnnvvvvuuuuttttiiiillll((((1111MMMM))))
  137.  
  138.  
  139.  
  140.      Inventories from other hosts can be imported to create a larger common
  141.      inventory.  It is recommended that the contents of /_v_a_r/_x_f_s_d_u_m_p/_i_n_v_e_n_t_o_r_y
  142.      on the remote host be copied to a temporary local directory prior to
  143.      running _x_f_s_i_n_v_u_t_i_l.  When _x_f_s_i_n_v_u_t_i_l is run in interactive mode, and the
  144.      operator hits iiii, they will be prompted for the path to the inventory to
  145.      be imported.  _x_f_s_i_n_v_u_t_i_l will then add the contents of the imported
  146.      inventory to the main window, and all entries will be marked as imported.
  147.      The operator can then delete any of these entries that are not to be
  148.      imported.  When the operator commits the changes, _x_f_s_i_n_v_u_t_i_l will import
  149.      any entries which were not marked as deleted.  Deleted entries are not
  150.      actually deleted from the original imported inventory.
  151.  
  152. NNNNOOOOTTTTEEEESSSS
  153.    IIIInnnnvvvveeeennnnttttoooorrrryyyy
  154.      Each dump session updates an inventory database in
  155.      /_v_a_r/_x_f_s_d_u_m_p/_i_n_v_e_n_t_o_r_y.  _x_f_s_d_u_m_p uses the inventory to determine the base
  156.      of incremental and resumed dumps.
  157.  
  158.      This database can be displayed by invoking _x_f_s_d_u_m_p with the ----IIII option.
  159.      The display uses tabbed indentation to present the inventory
  160.      hierarchically.  The first level is filesystem.  The second level is
  161.      session.  The third level is media stream (currently only one stream is
  162.      supported).  The fourth level lists the media files sequentially
  163.      composing the stream.
  164.  
  165. FFFFIIIILLLLEEEESSSS
  166.      /var/xfsdump/inventory   dump inventory database
  167.  
  168. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  169.      xxxxffffssssdddduuuummmmpppp(1M), xxxxffffssssrrrreeeessssttttoooorrrreeee(1M).
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.                                                                         PPPPaaaaggggeeee 3333
  196.  
  197.  
  198.  
  199.